<!doctype html>
<html lang="en">
<head>
    <meta http-equiv="Content-type" content="text/html; charset=utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <meta name="format-detection" content="telephone=no">
    <meta http-equiv="x-rim-auto-match" content="none">
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <link rel="stylesheet" href="css/style.css">
    <title>龙虎榜</title>
</head>
<style>
    div{
        width: 100%;
        padding:0;
        margin:0;
        background: url(img/ranking.png) no-repeat center;
        background-size:contain;
    }
</style>
<body>
<div id="box">

</div>

</body>
<script>
    var w=document.body.clientWidth;
    var h=document.body.clientHeight;
    var oDiv=document.getElementById('box');
    oDiv.style.height=1153*w/750+'px';
</script>
</html>